package com.dlc.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dlc.shop.bean.model.StockChangeReason;
import com.dlc.shop.bean.model.StockChangeReasonLang;

/**
 * 出入库原因国际化
 *
 * @author lth
 * @date 2020-08-26 15:39:09
 */
public interface StockChangeReasonLangService extends IService<StockChangeReasonLang> {

    /**
     * 获取出入库原因数量
     * @param stockChangeReason
     * @param reason
     * @return
     */
    int countReason(StockChangeReason stockChangeReason, String reason);
}
